package com.wit.witmg.mapper;

import com.wit.witmg.entity.TOrderp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bob
 * @since 2025-02-14
 */
public interface TOrderpMapper extends BaseMapper<TOrderp> {


    @Update("update t_orderp set oqt=oqt+#{oqt} where id=#{ppid}")
    boolean updateOqt(@Param("ppid") Integer ppid, @Param("oqt")Double oqt);
}
